package com.woniuxy.oa.entity;

import java.io.Serializable;

/**
 * 加班
 */
public class Overtime implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer om_id;
	private Integer om_userid;
	private String om_username;
	private String om_applicationtime;
	private String om_starttime;
	private String om_endtime;
	private String om_overtimehours;
	private String om_description;
	private Integer om_approvalstatus;
	
	private Integer om_aeid;//审批人id(有权限审批的员工id)
	
	public Overtime() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Overtime(Integer om_id, Integer om_userid, String om_username, String om_applicationtime, String om_starttime,
			String om_endtime, String om_overtimehours, String om_description, Integer om_approvalstatus) {
		super();
		this.om_id = om_id;
		this.om_userid = om_userid;
		this.om_username = om_username;
		this.om_applicationtime = om_applicationtime;
		this.om_starttime = om_starttime;
		this.om_endtime = om_endtime;
		this.om_overtimehours = om_overtimehours;
		this.om_description = om_description;
		this.om_approvalstatus = om_approvalstatus;
	}

	public Integer getOm_id() {
		return om_id;
	}

	public void setOm_id(Integer om_id) {
		this.om_id = om_id;
	}

	public Integer getOm_userid() {
		return om_userid;
	}

	public void setOm_userid(Integer om_userid) {
		this.om_userid = om_userid;
	}

	public String getOm_username() {
		return om_username;
	}

	public void setOm_username(String om_username) {
		this.om_username = om_username;
	}

	public String getOm_applicationtime() {
		return om_applicationtime;
	}

	public void setOm_applicationtime(String om_applicationtime) {
		this.om_applicationtime = om_applicationtime;
	}

	public String getOm_starttime() {
		return om_starttime;
	}

	public void setOm_starttime(String om_starttime) {
		this.om_starttime = om_starttime;
	}

	public String getOm_endtime() {
		return om_endtime;
	}

	public void setOm_endtime(String om_endtime) {
		this.om_endtime = om_endtime;
	}

	public String getOm_overtimehours() {
		return om_overtimehours;
	}

	public void setOm_overtimehours(String om_overtimehours) {
		this.om_overtimehours = om_overtimehours;
	}

	public String getOm_description() {
		return om_description;
	}

	public void setOm_description(String om_description) {
		this.om_description = om_description;
	}

	public Integer getOm_approvalstatus() {
		return om_approvalstatus;
	}

	public void setOm_approvalstatus(Integer om_approvalstatus) {
		this.om_approvalstatus = om_approvalstatus;
	}

	@Override
	public String toString() {
		return "Overtime [om_id=" + om_id + ", om_userid=" + om_userid + ", om_username=" + om_username
				+ ", om_applicationtime=" + om_applicationtime + ", om_starttime=" + om_starttime + ", om_endtime="
				+ om_endtime + ", om_overtimehours=" + om_overtimehours + ", om_description=" + om_description
				+ ", om_approvalstatus=" + om_approvalstatus + "]";
	}

}
